import time


def f1():
    print("This is function1")


def decorator(func):
    def wrapper():
        print(time.time())
        func()

    return wrapper


f = decorator(f1)
f()
